const userController=require('../controller/userController')


module.exports={
    'POST /user/signin':userController.userSignin, // 用户登录
    'POST /user/register':userController.userRegister,//用户注册
    'POST /user/public':userController.Basicemailinformation,//邮箱用户基本信息
    'POST /user/setlanguage':userController.chooseLanguage,//用户切换语言
    'POST /user/usersignout':userController.usersignout, //用户退出登录
    'POST /user/updateUserPassword':userController.changePassword,//修改密码
    'POST /user/updatebasicinfo':userController.updateBasicInfo, // 更改用户信息
    'POST /user/profilePicture':userController.profilePicture, //更改用户头像
    'POST /user/setredis':userController.usersetredis, //设置用户redis缓存数据
    'POST /user/myinvitation':userController.userinvitation, //获取推广用户列表
    'POST /user/getCommision':userController.usercommision, //获取推广详情
    'POST /user/mobile/getCommision':userController.userMobileCommision, //移动端 获取推广详情
    'POST /user/eamilcheck':userController.eamilcheck ,//验证邮箱是否存在
}